><

Setting HTML output options



You can set the following options in the HTML set:

Tags Case Select the capitalization to be used for tags: all uppercase, initial cap, or all lowercase. Setting tags and attributes to all uppercase helps the code stand out in the file.

Attributes Case Select the capitalization to be used for tag attributes: all uppercase, initial cap, second initial cap, or all lowercase.

Indent Select a method for indenting lines of code: using the authoring application's tab settings, using a specified number of spaces, or using no indentation.

Line Endings Select a platform for line ending compatibility.

Always Quote Attributes To place quotation marks around all tag attributes. Placing quotation marks around attributes is required for compatibility with certain early browsers and for strict HTML compliance. However, always quoting attributes is not recommended. Quotation marks are used when necessary to comply with most browsers, even if this option is deselected.

Include Comments To add explanatory comments to the HTML code.

Include GoLive Code To reformat HTML and JavaScript code so that rollovers will be fully editable in Adobe GoLive. Code is reformatted in the style used by GoLive (and may create a larger HTML file).

Generate CSS To generate a Cascading Style Sheet.

Referenced Select an option for referencing slice position in the HTML file when using CSS:

  • By ID to position each slice using styles that are referenced by a unique ID.
  • Inline to include style elements in the declaration of the block element <DIV> tag.
  • By Class to position each slice using classes that are referenced by a unique ID.

  • Generate Table To align slices using an HTML table.

    Empty Cells Select an option for filling empty table data cells (slices set to No Image). Select GIF, IMG W&H to use a one-pixel GIF with width and height values specified on the IMG tag. Select GIF, TD W&H to use a one-pixel GIF with width and height values specified on the TD tag. Select NoWrap, TD W&H to place a nonstandard NoWrap attribute on the table data and also place width and height values specified on the TD tags.

    TD W&H Select an option for including width and height attributes for table data: Always, Never, or Auto (the recommended setting).

    Spacer Cells Select an option for adding one row and one column of empty spacer cells around the generated table: Always, Never, or Auto (the recommended setting). Adding spacer cells is necessary with table layouts in which slice boundaries do not align, to prevent the table from breaking apart in some browsers.

    Image Map Type (ImageReady only) Select an option for generating image map code:

  • Client-Side to include all required code for the image map in the image's HTML file.
  • NCSA Server-Side to create a separate .map file in addition to the HTML file, using NCSA specifications.
  • CERN Server-Side to create a separate .map file in addition to the HTML file, using CERN specifications.
  • Client & NCSA to create both a client-side and server-side compatible image map, using NCSA specifications.
  • Client & CERN to create both a client-side and server-side compatible image map, using CERN specifications.

  • Note: Contact your Internet service provider to find out whether to use NCSA or CERN specification for server-side image maps.

    Image Map Placement (ImageReady only) Select a placement option for the image map declaration (the <MAP> tag) in the HTML file:

  • Top to place the image map declaration at the top of the HTML body section.
  • Body to place the image map declaration above the <IMG SRC> tag for the associated slice.
  • Bottom to place the image map declaration at the bottom of the HTML body section.


  • Optimizing Images for the Web > Setting output options > Setting HTML output options